<template>
  <div id="app">
    <router-view></router-view>
    <GlobalSidebar />
  </div>
</template>

<script>
import GlobalSidebar from './components/GlobalSidebar.vue'

export default {
  name: 'App',
  components: {
    GlobalSidebar
  }
}
</script>

<style>
#app {
  min-height: 100vh;
}

html, body {
  margin: 0;
  height: 100%;
}

/* 添加全局滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
</style>





